﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Routing
{
	class BASESTATION
	{
		// DEFINE const ***************************************************************************
		public	const	int		BS_ID   = 0;
		public	const	float   BS_X    = 490.0f;
		public	const	float   BS_Y    = 385.0f;
		public	const	int		PRNT_ID = -1;
		public	const	bool	NRECV   = true;
		public	const	int		KEY     = -1;
        public  const   int     BRD_HC  = 1;

        public  int HC      = 0;                    // Hop Count From BS
        public  int LMT_HC  = 10;                   // 통신할 총 홉 수 제한       

        // 베이스 스테이션 만들기 ******************************************************************
        public void MakeBS( NODE nd )
        {
            nd.nodeID   = BS_ID;
            nd.nodeX    = BS_X;
            nd.nodeY    = BS_Y;
            nd.parentID = PRNT_ID;
            //nd.nRecv    = NRECV;
            //nd.key      = KEY;
            //nd.brdHC   = BRD_HC;
        } // public void MakeBS( NODE nd )
	} // class
}
